package com.zbkj.crmeb.store.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zbkj.crmeb.store.model.TemplatesCostConfig;
import com.zbkj.crmeb.store.model.UserCommission;
import com.zbkj.crmeb.store.request.RetailShopStairUserRequest;
import com.zbkj.crmeb.store.request.UserCommissionRequest;
import com.zbkj.crmeb.store.response.RetailShopUserOrderResponse;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 用户资金表 Mapper 接口
 * </p>
 *
 * @author cyz
 * @since 2021-04-09
 */
public interface UserCommissionDao extends BaseMapper<UserCommission> {

     BigDecimal selectSumFreezeAmount(UserCommissionRequest request);

     List<RetailShopUserOrderResponse> getOrderListBySpreadLevel(RetailShopStairUserRequest request);
}
